class Grand:
    name = "AA"
    __age = 18

    def g1(self):
        print("Grand.g1")


class Father(Grand):
    id = "001"
    __score = None

    def f1(self):
        print("Father.f1")


class Son(Father):
    name = "BB"